package com.ajl.wx.beans.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;


/**
 * <p>
 * 
 * </p>
 *
 * @author HouXinLin
 * @since 2020-09-17
 */
@TableName("tb_course")
public class CoursePO extends Model<CoursePO> {
    private static final long serialVersionUID = 1L;

    /**
     * 课程ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 课程名称
     */
    @TableField("course_title")
    private String courseTitle;

    /**
     * tag
     */
    @TableField("course_tag")
    private String courseTag;

    /**
     * 视频发布时间戳
     */
    @TableField("course_release_timestamp")
    private LocalDateTime courseReleaseTimestamp;

    /**
     * 视频地址
     */
    @TableField("video_url")
    private String videoUrl;

    /**
     * 封面地址
     */
    @TableField("video_cover")
    private String videoCover;

    /**
     * 点赞数量
     */
    @TableField("like_number")
    private int likeNumber;

    /**
     * 观看数量
     */
    @TableField("watch_number")
    private int watchNumber;


    @TableField("push_name")
    private String pushName;


    /**
     * 课程描述
     */
    @TableField("course_describe")
    private String courseDescribe;


    /**
     * 课程描述
     */
    @TableField("course_type")
    private String courseType;

    /**
     * 微信ID
     */
    @TableField("course_type")
    private String wechatId;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCourseTitle() {
        return courseTitle;
    }

    public void setCourseTitle(String courseTitle) {
        this.courseTitle = courseTitle;
    }

    public String getCourseTag() {
        return courseTag;
    }

    public void setCourseTag(String courseTag) {
        this.courseTag = courseTag;
    }

    public LocalDateTime getCourseReleaseTimestamp() {
        return courseReleaseTimestamp;
    }

    public void setCourseReleaseTimestamp(LocalDateTime courseReleaseTimestamp) {
        this.courseReleaseTimestamp = courseReleaseTimestamp;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getVideoCover() {
        return videoCover;
    }

    public void setVideoCover(String videoCover) {
        this.videoCover = videoCover;
    }

    public int getLikeNumber() {
        return likeNumber;
    }

    public void setLikeNumber(int likeNumber) {
        this.likeNumber = likeNumber;
    }

    public int getWatchNumber() {
        return watchNumber;
    }

    public void setWatchNumber(int watchNumber) {
        this.watchNumber = watchNumber;
    }


    public String getPushName() {
        return pushName;
    }

    public void setPushName(String pushName) {
        this.pushName = pushName;
    }

    public String getCourseDescribe() {
        return courseDescribe;
    }

    public void setCourseDescribe(String courseDescribe) {
        this.courseDescribe = courseDescribe;
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }



    public String getWechatId() {
        return wechatId;
    }

    public void setWechatId(String wechatId) {
        this.wechatId = wechatId;
    }

    @Override
    public String toString() {
        return "CoursePO{" +
                "id=" + id +
                ", courseTitle='" + courseTitle + '\'' +
                ", courseTag='" + courseTag + '\'' +
                ", courseReleaseTimestamp=" + courseReleaseTimestamp +
                ", videoUrl='" + videoUrl + '\'' +
                ", videoCover='" + videoCover + '\'' +
                ", likeNumber=" + likeNumber +
                ", watchNumber=" + watchNumber +
                ", pushName='" + pushName + '\'' +
                ", courseDescribe='" + courseDescribe + '\'' +
                ", courseType='" + courseType + '\'' +
                ", wechatId='" + wechatId + '\'' +
                '}';
    }
}
